#!/bin/sh
#
# Startup script for proftpd as standalone server
#

if [ -n "`/opt/bin/pidof proftpd`" ]; then
    /opt/bin/killall proftpd 2>/dev/null
fi

/opt/sbin/proftpd --config /opt/etc/proftpd.conf


